<?php

namespace app\validate;

use think\Validate;

class DemandOrderValidate extends Validate
{

    // CountByStage
    public function sceneCountByStage(): DemandOrderValidate
    {
        return $this->append([
            'param.project_id' => 'require',
            'param.episode_code' => 'require',
            'param.group_type' => 'require|in:shot_standard,shot_nonstandard,asset_standard,asset_nonstandard'
        ]);
    }
}
